Java Mine
ContentsIndexHome
PreviousUpNext
SensorMessage.SensorMessage Constructor (int, int, Calendar, int, int, double, byte[])
Syntax
Java
public SensorMessage(int sensorID, int profileID, Calendar messageDate, int state, int signalStrength, double voltage, byte[] data) throws InterruptedException;
Parameters 
Description 
int sensorID 
unique identifier of the sensor  
int profileID 
the type of sensor it is sensors unique application id  
Calendar messageDate 
when the message came in  
int state 
lets you know if the sensor was in an aware state, joining, or normal  
int signalStrength 
the rssi of the sensor  
double voltage 
the power of the sensor  
byte[] data 
an array of bytes carrying the sensors report 

 

Default Constructor creates new SensorMessage object 

 

Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!